package com.yunxi.service.localService.activiti;

import com.yunxi.activiti.pojo.ActivitiManageVO;
import com.yunxi.activiti.pojo.ActivitiTaskVO;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.activiti.ActivitiManage;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-07-15
 */
public interface ActivitiManageService extends IServicePlus<ActivitiManage> {
    ActivitiManageVO findNewsDeploymentId(Map map);

    ActivitiManageVO getByActivitiCode(String activitiCode);

    List waitList(Map map);

    List listRecordByBusinessKey(String orderCustomerId);

    ActivitiTaskVO getCurTaskIdByBusinessKey(String orderCustomerId);

    String getInstanceIdByBusinessKey(String businessKey);

    List<ActivitiTaskVO> listInstanceNodeByBusinessKey(String businessKey);

    List<ActivitiTaskVO> listInstanceNodeByInstanceId(String instanceId);

    ActivitiTaskVO getTaskByTaskId(String taskId);

    ActivitiTaskVO getHisTaskByTaskId(String taskId);
}
